package com.csdj.t309.service;

import com.csdj.t309.entity.DriverSchool;
import com.csdj.t309.entity.DriverSchoolExample;
import com.csdj.t309.mapper.DriverSchoolMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class DriverSchoolService implements IDriverSchoolService {
    @Resource
    private DriverSchoolMapper driverSchoolMapper;
    @Override
    public List<DriverSchool> selectByExample(DriverSchoolExample example) {
        return driverSchoolMapper.selectByExample(example);
    }

    @Override
    public int updateByPrimaryKeySelective(DriverSchool record) {
        return driverSchoolMapper.updateByPrimaryKeySelective(record);
    }
}
